from sqlalchemy import Column, String, Integer
from DataBase.DataBaseConnect import DBConnect

class FunctionInfo(DBConnect.Base):
    #Base作为被继承的类
    __tablename__ = 'function_info'
    id = Column(Integer,primary_key=True)
    step_no = Column(String(128),nullable=False,index=True)
    step_name = Column(String(128),nullable=False,index=True)
    element_type = Column(String(10),nullable=False,index=True)
    element = Column(String(128),nullable=False,index=True)
    action_no = Column(String(64),nullable=False,index=True)
    assert_info = Column(String(256),nullable=False,index=True)
    widget_value = Column(String(256),nullable=False,index=True)
    del_flg = Column(String(1),nullable=False,index=True)
    order = Column(Integer,nullable=False,index=True)
    case_id = Column(Integer,nullable=False,index=True)